<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>7.对象的简写形式</title>
	</head>
	<body>
		<script type="text/javascript" >
			let a = 9

			let obj1 = {a:'a'} //这段代码没有任何简写形式

			let obj2 = {a} //这段代码属于简写形式，完整的表达：let obj = {a:a}


		</script>
	</body>
</html>